import request from '../../views/components/utils/request.js'

// 查询【校友数据】列表
export function listCertificatesi(query) {
  return request({
    url: '/system/certificatesi/list',
    method: 'get',
    params: query
  })
}

// 查询【校友信息】详细
export function getCertificatesi(recno) {
  return request({
    url: '/system/certificatesi/' + recno,
    method: 'get'
  })
}

// 新增【请填写功能名称】
export function addCertificatesi(data) {
  return request({
    url: '/system/certificatesi',
    method: 'post',
    data: data
  })
}

// 修改【请填写功能名称】
export function updateCertificatesi(data) {
  return request({
    url: '/system/certificatesi',
    method: 'put',
    data: data
  })
}

// 删除【请填写功能名称】
export function delCertificatesi(recno) {
  return request({
    url: '/system/certificatesi/' + recno,
    method: 'delete'
  })
}

// 导出【请填写功能名称】
export function exportCertificatesi(query) {
  return request({
    url: '/system/certificatesi/export',
    method: 'get',
    params: query
  })
}